Skip to content

Instantly share code, notes, and snippets.

@guest271314
guest271314 / javascript_engines_and_runtimes.md
Last active March 5, 2026 09:28
A list of JavaScript engines, runtimes, interpreters

V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++. It is used in Chrome and in Node.js, among others. It implements ECMAScript and WebAssembly, and runs on Windows 7 or later, macOS 10.12+, and Linux systems that use x64, IA-32, ARM, or MIPS processors. V8 can run standalone, or can be embedded into any C++ application.

SpiderMonkey is Mozilla’s JavaScript and WebAssembly Engine, used in Firefox, Servo and various other projects. It is written in C++, Rust and JavaScript. You can embed it into C++ and Rust projects, and it can be run as a stand-alone shell. It can also be [compiled](https://bytecodealliance.org/articles/making-javascript-run-fast-on

@o-murphy
o-murphy / pythonista_ansi.py
Last active March 5, 2026 09:26
`print/input` overloads for ansi color print in `Pythonista.console`
"""ANSI COLORS TO PYTHONISTA CONSOLE"""
import re
import sys
from typing import Any
_BASIC_ANSI_RGB = {
30: (0, 0, 0),
31: (128, 0, 0),
32: (0, 128, 0),
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@mberman84
mberman84 / all_files.md
Created February 24, 2026 21:09
Matt's Markdown Files

OpenClaw: System Prompt File Templates

Generalized versions of all root .md files used by OpenClaw. These files are loaded into the agent's system prompt on every request (except MEMORY.md which is conditional).

Copy these as starting points and customize for your own setup. Replace <placeholders> with your values.


AGENTS.md

@dpdinh1801
dpdinh1801 / note196.txt
Created February 9, 2026 02:43
Note 196
l67qtkzw1trh81
@igor-makarov
igor-makarov / hook_allow_mcp.js
Created February 10, 2026 12:12
Auto-approve annoying Xcode 26.3 MCP prompts
#!/usr/bin/env osascript -l JavaScript
// Find and approve any MCP agent access dialogs in Xcode.
function run() {
var se = Application("System Events");
try { se.processes.byName("Xcode").name(); } catch (e) { return "Xcode not running."; }
var count = 0;
var windows = se.processes.byName("Xcode").windows();
@kevinmichaelchen
kevinmichaelchen / openclaw-variants-matrix-notes.md
Last active March 5, 2026 09:14
OpenClaw variants: shallow comparison + Matrix multi-device retrofit notes

OpenClaw Variants: Shallow Comparison + Matrix Retrofit Notes

Last updated: 2026-02-16

Scope

This note focuses on OpenClaw and close variants, with emphasis on:

  • Retrofitting popular Rust variants for Matrix-based multi-device coordination
  • Practical benefits of using multiple machines (Synology NAS + Mac Mini + 3 Raspberry Pi)

Quick Snapshot (Shallow)

@docularxu
docularxu / blog-claude-code-china.md
Last active March 5, 2026 09:14
How I Got Claude Code Working in China — What Works and What Doesn't

How I Got Claude Code Working in China — What Works and What Doesn't

February 12, 2026

If you're a developer in China trying to use Claude Code, you've probably hit the 403 wall. This guide covers how to get it working in three scenarios:

  1. macOS Terminal (shell) - using claude CLI directly in your terminal
  2. VS Code Terminal - using claude CLI inside VS Code's integrated terminal
  3. VS Code Claude Code Extension - using the Claude Code chat panel (installed as a VS Code extension)